<?php

namespace app\school\controller;

use app\common\controller\BasicAdmin;
use app\common\model\ParameterModel;


/**
 * Class Qrcode
 * @package app\sunshine\controller
 */
class Qrcode extends BasicAdmin
{
    /**
     * 二维码管理
     */
    public function index()
    {
        $this->title = '二维码管理';
        $qrcode2 = ParameterModel::where('id',2)->find()['logo'];
        $qrcode3 = ParameterModel::where('id',3)->find()['logo'];
        $qrcode4 = ParameterModel::where('id',4)->find()['logo'];
        $this->assign('qrcode2',$qrcode2);
        $this->assign('qrcode3',$qrcode3);
        $this->assign('qrcode4',$qrcode4);
        $this->fetch();
    }

}
